<%--
  Created by IntelliJ IDEA.
  User: chen
  Date: 20-2-20
  Time: 上午11:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>连接界面</title>
    <script>
        function clear() {
            document.getElementById("IP").value = "";
            document.getElementById("Port").value = "";
        }
    </script>
</head>
<body>
<%
    //编码方式
    request.setCharacterEncoding("UTF-8");
    String MyName = request.getParameter()
%>
<form>
    用户姓名：<input type="text" name="MyName"><br/>
    用户IP地址：<input type="text" name="IP"><br/>
    连接端口号：<input type="text" name="Port"><br/>
    <input type="submit" value="连接服务器"><br/>
    <input type="reset" value="重置" name="reset">
</form>
</body>
</html>
